#!/bin/sh

# --config /etc/mongo/mongod.conf
docker run --name mongo \
	-v "$PWD/volume/mongo/conf":/etc/mongo \
	-v "$PWD/volume/mongo/data":/data/db \
	-e MONGO_INITDB_ROOT_USERNAME=root \
  -e MONGO_INITDB_ROOT_PASSWORD=123456 \
	-p 27017:27017 -d bobjoy/mongo:latest
